package com.edu.d9_interface_implements;

public class demo implements interfaceDemo,interface2{
    private String name;

    public demo(String name) {
        this.name = name;
    }

    @Override
    public void run() {
        System.out.println(name+"跑得很快");
    }

    @Override
    public void jump() {
        System.out.println(name+"还很会挑");
    }
}
